import request from "@/utils/request";

export function getList(params) {
  return request({
    url: "/member/mpTempSet/getList",
    method: "get",
    params,
  });
}
export function getTempSetTypeList() {
  return request({
    url: "/member/mpTempSet/getTempSetTypeList",
    method: "get",
  });
}
export function del(id) {
  return request({
    url: "/member/mpTempSet/del",
    method: "POST",
    data: { id },
  });
}

export function add(data) {
  return request({
    url: "/member/mpTempSet/add",
    method: "POST",
    data,
  });
}

export function change(data) {
  return request({
    url: "/member/mpTempSet/change",
    method: "POST",
    data,
  });
}
